<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8"/>
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <title>最近10条云仓库信息</title>
        <link rel="stylesheet" href="/css/weixin/jquery.mobile-1.2.1.min.css" />
        <script src="/js/weixin/jquery-1.8.3.min.js"></script>
        <script src="/js/weixin/jquery.mobile-1.2.1.min.js"></script>
    </head>
    <body>
        <div data-role="page" id="page1">
            <div data-role="content">
                <div class="ui-grid-d">
                    <div class="ui-block-a" style="width: 100px">
                        时间
                    </div>
                    <div class="ui-block-b" style="width: 95px">
                        名称
                    </div>

                    <div class="ui-block-c"  style="width: 75px">
                        净重(g)
                    </div> 
                    
                    <div class="ui-block-e" style="width: 35px">
                                
                    </div>
                </div>
                <?php foreach ($this->storeitemlist as $item) { ?> 

                    <div class="ui-grid-d">                      
                        <div class="ui-block-a"  style="width: 100px">
                            <?php echo date('Y-m-d', strtotime($item->dateInStore)); ?> 
                        </div>

                        <div class="ui-block-c"  style="width: 95px">                           
                            <?php echo $item->productName; ?>                               
                        </div>

                        <div class="ui-block-c"  style="width: 75px">                           
                            <?php echo $item->weight; ?>                               
                        </div>

                         
                        <div class="ui-block-e" style="width: 35px">
                            <a href="/weixin/storeitemdetail?id=<?php echo $item->id; ?>&fromusername=<?php echo $this->fromusername;?>" data-transition="fade">
                                详细
                            </a>
                        </div>

                    </div>

                    <div class="ui-grid-d">
                        <div class="ui-block-a" style="width: 100px">
                            &nbsp;
                        </div>
                        <div class="ui-block-b" style="width: 95px">
                            &nbsp;
                        </div>

                        <div class="ui-block-c"  style="width: 75px">
                            &nbsp;
                        </div> 
                       
                        <div class="ui-block-e" style="width: 35px">
                            &nbsp;
                        </div>
                    </div>
                <?php } ?>

            </div>
        </div>
    </body> 
</html>